/** 
 * @CopyRight (c) 2012-2012
 * @Project <eshop>
 * @JDK_Version_Used:<JDK1.6>
 * @Description:TODO<描述用途>
 * @Title: CmiGoodsVariety.java
 * @Author: <何俊>
 * @Author_of_Contact <E:azj1001@sina.com T:18651831939>
 * @Date 2012-12-12 下午10:30:33
 * @Modified_By: <修改人>
 * @Modified_of_Contact <修改人联系方式>
 * @Modified_Date <修改日期时间>
 * @Why & What is modified <修改原因描述>
 * @Version v1.00
 */
package com.e.buy.bean.back.manager.cmi_goods;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description:(描述类别作用)
 * @author <何俊>
 * @date 2012-12-12 下午10:30:33
 * @version v1.0
 * @Other :@see #Files
 */
public class CmiGoodsVariety {

	private int uuid;

	private String varName;

	private int varUp;

	private String varUnit;

	private String varSort;

	private String varShow;

	private String varNav;

	private String varHome;
	
	private String varProp;
	
	private int varPrice;
	
	private String varCss;
	
	private String varKeyword;
	
	private String varDesc;
	
	private String intime;
	
	private String uptime;

	private int goodsCt;
	
	private List<CmiGoodsVariety> children = new ArrayList<CmiGoodsVariety>();
	
	private String state;
	
	public String getState() {
		this.state = "open";
		if(this.getChildren().isEmpty()) {
			this.state = "closed";
		}
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public List<CmiGoodsVariety> getChildren() {
		return children;
	}

	public void setChildren(List<CmiGoodsVariety> children) {
		this.children = children;
	}

	public int getUuid() {
		return uuid;
	}

	public void setUuid(int uuid) {
		this.uuid = uuid;
	}

	public String getVarName() {
		return varName;
	}

	public void setVarName(String varName) {
		this.varName = varName;
	}

	public int getVarUp() {
		return varUp;
	}

	public void setVarUp(int varUp) {
		this.varUp = varUp;
	}

	public String getVarUnit() {
		return varUnit;
	}

	public void setVarUnit(String varUnit) {
		this.varUnit = varUnit;
	}

	public String getVarSort() {
		return varSort;
	}

	public void setVarSort(String varSort) {
		this.varSort = varSort;
	}

	public String getVarShow() {
		return varShow;
	}

	public void setVarShow(String varShow) {
		this.varShow = varShow;
	}

	public String getVarNav() {
		return varNav;
	}

	public void setVarNav(String varNav) {
		this.varNav = varNav;
	}

	public String getVarHome() {
		return varHome;
	}

	public void setVarHome(String varHome) {
		this.varHome = varHome;
	}

	public String getVarProp() {
		return varProp;
	}

	public void setVarProp(String varProp) {
		this.varProp = varProp;
	}

	public int getVarPrice() {
		return varPrice;
	}

	public void setVarPrice(int varPrice) {
		this.varPrice = varPrice;
	}

	public String getVarCss() {
		return varCss;
	}

	public void setVarCss(String varCss) {
		this.varCss = varCss;
	}

	public String getVarKeyword() {
		return varKeyword;
	}

	public void setVarKeyword(String varKeyword) {
		this.varKeyword = varKeyword;
	}

	public String getVarDesc() {
		return varDesc;
	}

	public void setVarDesc(String varDesc) {
		this.varDesc = varDesc;
	}

	public String getIntime() {
		return intime;
	}

	public void setIntime(String intime) {
		this.intime = intime;
	}

	public String getUptime() {
		return uptime;
	}

	public void setUptime(String uptime) {
		this.uptime = uptime;
	}

	public int getGoodsCt() {
		return goodsCt;
	}

	public void setGoodsCt(int goodsCt) {
		this.goodsCt = goodsCt;
	}
}
